package com.hebeu.xwl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hebeu.xwl.pojo.Admin;
import com.hebeu.xwl.pojo.AdminSalt;

public interface AdminService extends IService<Admin> {
        Admin findByUsername(String username);

    Admin findById(String id);

    AdminSalt findAdminSalt(int id);
        void UpdatePassword(Admin admin);

    void UpdateStatus(Admin admin);

    int deleteById(int id);
        Boolean insertAdmin(Admin admin,String salt);
        Boolean deleteAdmin(int id);
}
